import request from '@/utils/request'

export function GeneratePages(id, args) {
  return request({
    url: `/erp/api/feed_api_generate_pages/${id || ''}${args && ('?' + args) || ''}`,
    method: 'get'
  })
}

export function GenerateXml(id, args) {
  return request({
    url: `/erp/api/feed_api_generate_xml/${id || ''}${args && ('?' + args) || ''}`,
    method: 'get'
  })
}

export function GenerateFeed(id, args) {
  return request({
    url: `/erp/api/feed_api_generate_feed/${id || ''}${args && ('?' + args) || ''}`,
    method: 'get'
  })
}
